package com.ruoyi.repair.repairFeeInquiry.service;

import java.util.HashMap;
import java.util.List;

import com.github.pagehelper.Page;
import com.ruoyi.repair.repairFeeInquiry.domain.BizVehicleRepairFeeInquiry;
import com.ruoyi.repair.repairFeeInquiry.domain.BizVehicleRepairFeeInquiryVo;
import org.activiti.engine.runtime.ProcessInstance;

/**
 * 维修询价Service接口
 *
 * @author xzshan
 * @date 2020-06-04
 */
public interface IBizVehicleRepairFeeInquiryService {
  /**
   * 查询维修询价
   *
   * @param id 维修询价ID
   * @return 维修询价
   */
  public BizVehicleRepairFeeInquiryVo selectBizVehicleRepairFeeInquiryById(Long id);

  /**
   * 查询维修询价列表
   *
   * @param bizVehicleRepairFeeInquiryVo 维修询价
   * @return 维修询价集合
   */
  public List<BizVehicleRepairFeeInquiryVo> selectBizVehicleRepairFeeInquiryList(BizVehicleRepairFeeInquiryVo bizVehicleRepairFeeInquiryVo);

  /**
   * 新增维修询价
   *
   * @param bizVehicleRepairFeeInquiry 维修询价
   * @return 结果
   */
  public int insertBizVehicleRepairFeeInquiry(BizVehicleRepairFeeInquiry bizVehicleRepairFeeInquiry);

  /**
   * 修改维修询价
   *
   * @param bizVehicleRepairFeeInquiry 维修询价
   * @return 结果
   */
  public int updateBizVehicleRepairFeeInquiry(BizVehicleRepairFeeInquiry bizVehicleRepairFeeInquiry);

  /**
   * 批量删除维修询价
   *
   * @param ids 需要删除的数据ID
   * @return 结果
   */
  public int deleteBizVehicleRepairFeeInquiryByIds(String ids);

  /**
   * 删除维修询价信息
   *
   * @param id 维修询价ID
   * @return 结果
   */
  public int deleteBizVehicleRepairFeeInquiryById(Long id);

  ProcessInstance submitApply(BizVehicleRepairFeeInquiry bizVehicleRepairFeeInquiry, String applyUserId, String key, HashMap<String, Object> objectObjectHashMap);

  Page<BizVehicleRepairFeeInquiryVo> findDoneTasks(BizVehicleRepairFeeInquiryVo bizVehicleRepairFeeInquiryVo, String loginName);

  Page<BizVehicleRepairFeeInquiryVo> findTodoTasks(BizVehicleRepairFeeInquiryVo bizVehicleRepairFeeInquiryVo, String loginName);
}
